import { Button } from '@douyinfe/semi-ui';
import { useEffect } from 'react';
import { shallowEqual, useDispatch, useSelector } from 'react-redux';
import { useParams } from 'react-router-dom';
import { IReducerState, IRootReducerState } from '@/store/root-reducer';

const ApplicationDetail = ({ entity }: any) => {
  const dispatch = useDispatch<any>();
  useEffect(() => {}, []);

  console.log(entity);

  const params = useParams();
  console.log(params);

  return (
    <>
      details<div>{entity?.id}</div>
      <div>{entity?.name}</div>
    </>
  );
};

export default ApplicationDetail;
